﻿using System;
using System.Collections.Generic;
using Ayatta.Contract.Domain;
using PagedList;

namespace Web.My.Models
{
    public static class OrderControllerModel
    {
        public class Index
        {
            public string Id { get; set; }
            public string Nick { get; set; }
            public string Title { get; set; }
            public OrderCategory Category { get; set; }
            public OrderStatus? Status { get; set; }
            public byte? CommentStatus { get; set; }
            public DateTime? BeginDate { get; set; }
            public DateTime? EndDate { get; set; }
            public IPagedList<Order> Orders { get; set; }
        }

        public class Auction
        {
            //public IPagedList<AuctionOrder> Orders { get; set; }

            public IList<Area> Areas { get; set; }

            public Order Order { get; set; }
            public UserInvoice UserInvoice { get; set; }
            public IList<UserInvoice> UserInvoices { get; set; }
            public UserAddress UserAddress { get; set; }
            public IList<UserAddress> UserAddresses { get; set; }

        }

        public class Detail
        {
            public Order Order { get; set; }
            public IList<Shipping> Shippings { get; set; }
        }
    }
}